package demo1;

/**
 * ArrayList 顺序表
 */
public class Text {


    public static void main(String[] args) {
        MyAarrayList myAarrayList = new MyAarrayList(2);
        myAarrayList.add(1);
        myAarrayList.add(3);
        myAarrayList.add(3);
        myAarrayList.add(4);
        myAarrayList.display();
        System.out.println("============");
        myAarrayList.set(2,3);
        myAarrayList.display();
        System.out.println("============");
        myAarrayList.remove(3);
        myAarrayList.display();
    }
}
